<?php
require_once("../conf/db_connection.php");

$query = "SELECT * FROM truck";
$result = mysql_query($query) or die($query);
while($row = mysql_fetch_array($result))
{
	$new_cell = str_replace("-","",$row['contact_cellphone']);
	echo $new_cell."<br />";
	mysql_query("UPDATE truck SET contact_cellphone='".$new_cell."'
	WHERE id='".$row['id']."'
	");
}
?>
